package com.ruoyi.quartz.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 微信机器人配置对象 t_wechaty_config
 *
 * @author fz
 * @date 2024-04-10
 */
public class WechatyConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 定时任务id
     */
    @Excel(name = "定时任务id")
    private Long jobId;

    /**
     * 群名称
     */
    @Excel(name = "群名称")
    private String room;

    /**
     * 图片地址
     */
    @Excel(name = "图片地址")
    private String picPath;

    @Excel(name = "路段")
    private String road;

    @Excel(name = "文字描述")
    private String description;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getRoom() {
        return room;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getPicPath() {
        return picPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("jobId", getJobId())
                .append("room", getRoom())
                .append("picPath", getPicPath())
                .append("road", getRoad())
                .append("description", getDescription())
                .toString();
    }

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
